package StudyCode.summary.symboliclink;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class DeterminingTargetLinkFile {
	public static void main(String[] args) throws Exception {
		try {
			Path linkFile = Paths.get("C:/home/music/users.txt");
			System.out.println("目标文件是: " + Files.readSymbolicLink(linkFile));
		} catch (IOException ex) {
			ex.printStackTrace();
		}
	}
}
